package com.qifenqian.turbot.module.entity.response.restaurant

/**
 * @author H
 * @createTime 2018/12/21 08:53
 * @description 返回实体,与上传实体
 * @see
 * @since
 */

data class RestaurantTableEntity(
        var balcony: Int = 1, // 1  是否开启条件(永远开启)
        var balconyCondition: BalconyCondition,
        var restaurantId: Int, // 100001
        var tableList: List<Table>,
        var id: Int = 0, // 100001
        var createTime: String = "" // 2019-01-03 14:58:22
                                ) {

    data class Table(
            var id: Int, // 4
            var maxNumberOfPeople: Int, // 12
            var minNumberOfPeople: Int, // 8
            var restaurantId: Int, // 100001
            var tableNo: String, // 2
            var tableType: Int, // 1
            var createTime: String = "" // 2019-01-03 16:12:26
                    )

    data class BalconyCondition(
            var restaurantId: Int, // 100001
            var id: Int, // 1
            var minConsumption: Int, // 10000
            var minReversePeople: Int, // 0
            var serviceCharge: Int, // 0
            var createTime: String = "" // 2019-01-03 15:36:03
                               )
}